package com.my_musc_service.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (SharedSongList)实体类
 *
 * @author A.Dun
 * @since 2021-08-17 14:14:38
 */
@Data
public class SharedSongList implements Serializable {
    private static final long serialVersionUID = -68859189339434062L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer songListId;

    private Integer userId;

    private String description;

    private String songListName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date sharedTime;

    private Integer clickCount;

    private Integer commentCount;

}
